.fv-tree {
    position: relative;
    margin: 10px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    border-style: solid;
    border-width: 1px;
    border-color: transparent;
    flex: 1;
    color: #424347;
}

.fv-tree-content {
    flex: 1;
    display: flex;
    overflow: scroll;
    position: relative;
    z-index: 0;
    background: #fff;
}

.fv-tree-content-hover {
    cursor: pointer;
}

.fv-tree-content-primary {
    flex: 1;
    position: relative;
    overflow: scroll;
}

.fv-tree-data {
    height: 100%;
    width: 100%;
}

.fv-tree-node {
    left: 0;
    width: 100%;
    position: absolute;
}

.fv-tree-node.selected{
    left: 0;
    /* width: 100%; */
    position: absolute;
    background: #E7F1FF;
}
.fv-tree-node:hover {
    left: 0;
    /* width: 100%; */
    position: absolute;
    background: #E7F1FF;
}

.fv-tree-node:active {
    left: 0;
    /* width: 100%; */
    position: absolute;
    background: #E7F1FF;
}

.fv-tree-strip .fv-tree-node-odd {
    background-color: #fff;
}

.fv-tree-strip .fv-tree-node-even {
    background-color: #f7f8fb;
}

.fv-tree-node-hover {
    cursor: pointer;
    color: #424347;
    background: #edf5ff !important;
}

.fv-tree-node-selected {
    color: #424347 !important;
    background-color: #dae9ff !important;
}

.fv-tree-node-cell {
    position: absolute;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    top: 0;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* 去除多余连接线 */
.fv-tree-data :first-child .fv-tree-node-cell {
    background: none;
    border-left: none;
}

.fv-tree-node-cell-input {
    font-size: 12px;
    height: 12px;
    width: 12px;
    border: 1px solid #AEB5C6;
}

.fv-tree-node-cell .f-icon.f-icon-checkbox-checked {
    color: #2A87FF !important;
}

.fv-tree-node-cell .custom-control-input:checked~.custom-control-label::before {
    color: #2A87FF;
}

/* 隐藏原始的复选框 */
.fv-tree-node-cell input[type=checkbox] {
    display: none;
}

/* 自定义复选框的外观，包括图标颜色 */
.fv-tree-node-cell input[type=checkbox]+label {
    position: relative;
    padding-left: 18px;
    cursor: pointer;
    /* min-height: 20px; */
    display: flex;
}

/* 创建自定义复选框的图标 */
.fv-tree-node-cell input[type=checkbox]+label::before {
    content: '\e304';
    font-family: FarrisIcons;
    position: absolute;
    left: 0;
    top: 0;
    color: #D8DCE6;
}

.fv-tree-node-cell input[type=checkbox]:indeterminate+label::before {
    content: '\e306';
    font-family: FarrisIcons;
    position: absolute;
    left: 0;
    top: 0;
    color: #2A87FF;
}

/* 创建自定义复选框的图标 */
.fv-tree-node-cell input[type=checkbox]:checked+label::before {
    content: '\e305';
    font-family: FarrisIcons;
    position: absolute;
    left: 0;
    top: 0;
    color: #2A87FF;
}

.fv-tree-node-cell div#treeNodeIcons {
    margin-right: 5px;
    color: #a5a6ab;
}

.fv-tree-node-toggle {
    padding-right: 0.75rem;
    width: 0.875rem;
    height: 0.875rem;
    font-size: .75rem;
    margin: 0 0.375rem 0 0;
    background: #fff;
    border: 1px solid #D8DCE6;
    border-radius: 2px;
    text-align: center;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
}

.fv-tree-node-toggle::before {
    font-family: FarrisIcons;
    color: rgba(31, 15, 15, 0.85);
    content: '\e11e';
}

.fv-tree-node-toggle-minus {
    padding-right: 6px;
}

.fv-tree-node-toggle-minus::before {
    font-family: FarrisIcons;
    color: #D8DCE6;
    content: '\e122';
}


.fv-tree-node-toggle.extanded::before {
    content: '\e121';
}

.fv-tree-node-toggle:hover::before {
    color: #59a1ff;
}